package com.luyuan.gallery.mapper;

import java.util.List;
import com.luyuan.gallery.domain.ExhiGalleryArtwork;

/**
 * 展厅作品关联Mapper接口
 * 
 * @author luyuan
 * @date 2025-11-13
 */
public interface ExhiGalleryArtworkMapper {
    /**
     * 查询展厅作品关联
     * 
     * @param id 展厅作品关联主键
     * @return 展厅作品关联
     */
    public ExhiGalleryArtwork selectExhiGalleryArtworkById(Long id);

    /**
     * 查询展厅作品关联列表
     * 
     * @param exhiGalleryArtwork 展厅作品关联
     * @return 展厅作品关联集合
     */
    public List<ExhiGalleryArtwork> selectExhiGalleryArtworkList(ExhiGalleryArtwork exhiGalleryArtwork);

    /**
     * 新增展厅作品关联
     * 
     * @param exhiGalleryArtwork 展厅作品关联
     * @return 结果
     */
    public int insertExhiGalleryArtwork(ExhiGalleryArtwork exhiGalleryArtwork);

    /**
     * 修改展厅作品关联
     * 
     * @param exhiGalleryArtwork 展厅作品关联
     * @return 结果
     */
    public int updateExhiGalleryArtwork(ExhiGalleryArtwork exhiGalleryArtwork);

    /**
     * 删除展厅作品关联
     * 
     * @param id 展厅作品关联主键
     * @return 结果
     */
    public int deleteExhiGalleryArtworkById(Long id);

    /**
     * 批量删除展厅作品关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExhiGalleryArtworkByIds(Long[] ids);
}
